package com.compomics.prioritizer;


import javax.swing.*;

/**
 * Created by IntelliJ IDEA.
 * User: niels
 * Date: 27/07/11
 * Time: 15:18
 * To change this template use File | Settings | File Templates.
 */
public class TestClass {

    public static void main(String[] args) {
        try {
            System.out.println("installed info: " + UIManager.getLookAndFeel().getName());
            for (UIManager.LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    System.out.println("info: " + info.getName());
                    UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (UnsupportedLookAndFeelException e) {
            e.printStackTrace();
        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        }
    }

}
